#ifndef BIBLE_NEW_TESTAMENT_H_
#define BIBLE_NEW_TESTAMENT_H_

ArrayList<Option> getNewTestamentOptions()
{
	ArrayList<Option> ropt = ArrayList<Option>();
	
	ropt.add(Option("New Testament",Title));
	ropt.add(Option("Matthew",Book_New));
	ropt.add(Option("Mark",Book_New));
	ropt.add(Option("Luke",Book_New));
	ropt.add(Option("John",Book_New));
	ropt.add(Option("Acts",Book_New));
	ropt.add(Option("Romans",Book_New));
	ropt.add(Option("1 Corinthians",Book_New));
	ropt.add(Option("2 Corinthians",Book_New));
	ropt.add(Option("Galatians",Book_New));
	ropt.add(Option("Ephesians",Book_New));
	ropt.add(Option("Philippians",Book_New));
	ropt.add(Option("Colossians",Book_New));
	ropt.add(Option("1 Thessalonians",Book_New));
	ropt.add(Option("2 Thessalonians",Book_New));
	ropt.add(Option("1 Timothy",Book_New));
	ropt.add(Option("2 Timothy",Book_New));
	ropt.add(Option("Titus",Book_New));
	ropt.add(Option("Philemon",Book_New));
	ropt.add(Option("Hebrews",Book_New));
	ropt.add(Option("James",Book_New));
	ropt.add(Option("1 Peter",Book_New));
	ropt.add(Option("2 Peter",Book_New));
	ropt.add(Option("1 John",Book_New));
	ropt.add(Option("2 John",Book_New));
	ropt.add(Option("3 John",Book_New));
	ropt.add(Option("Jude",Book_New));
	ropt.add(Option("Revelation",Book_New));
	
	return ropt;
}

ArrayList<Option> getBook_NewOptions(string name)
{
	ArrayList<Option> ropt = ArrayList<Option>();
	
	ropt.add(Option(name,Title));
	string cfgloc = "SYSTEM/PROGRAMS/BIBLE/new/";
	cfgloc += name; cfgloc += ".cfg";
	
	if(fileExist(cfgloc))
	{
		Book book = Book(cfgloc);
		for(int i = 0; i < book.chapters.size(); i++)
		{
			string chapnum = "Chapter ";
			chapnum += intToString(i + 1);
			ropt.add(Option(chapnum,book.chapters.get(i),Book_Chapter));
		}
	}
	return ropt;
}

#endif /*BIBLE_NEW_TESTAMENT_H_*/
